package com.zzyl.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.mapper.FamilyMemberElderMapper;
import com.zzyl.nursing.vo.FamilyMemberElderVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * TODO
 *
 * @Author cisimu
 * @Date 2025/10/29 22:04
 */
public interface IFamilyMemberElderService extends IService<FamilyMemberElder> {

    /**
     * 查询家人列表
     */
    List<FamilyMemberElderVo> selectBindingElder(Long userId);

    /**
     * 解绑老人
     * @param id
     */
    void deleteElderById(Long id);
}
